package com.hoshiicloud.user.service.organization;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.user.entity.organization.PlatOrganizationDepartmentesUsers;

import java.util.List;

/**
 * <p>
 * 平台机构部门人员 服务类
 * </p>
 *
 * @author campchen
 * @since 2019-05-27
 */
public interface PlatOrganizationDepartmentesUsersService extends IService<PlatOrganizationDepartmentesUsers> {

    IPage<PlatOrganizationDepartmentesUsers> getPage(IPage<PlatOrganizationDepartmentesUsers> page, QueryWrapper<PlatOrganizationDepartmentesUsers> queryWrapper, String key);

    PlatOrganizationDepartmentesUsers getById(Long id);

    boolean save(PlatOrganizationDepartmentesUsers entity);

    boolean updateById(PlatOrganizationDepartmentesUsers entity);

    boolean deleteById(Long id);

    List<PlatOrganizationDepartmentesUsers> getByIds(List<Long> ids,String key);
}
